#!/bin/bash
for iterator in `seq 25  48`
do
   	echo "Iterator $iterator :"
	#sed "1 i\LineNumber = $iterator ;" model_HM_No.m > step1.m
	#math -noprompt -script step1.m
	sed "1 i\LineNumber = $iterator ;" ReadingDataTorso_No.m > step2.m
	math -noprompt -script step2.m
	#sed "1 i\LineNumber = $iterator " s3.m > step3.m
	#matlab -nojvm -nodesktop -r "step3.m"
done
rm step2.m step2.m #step3.m
